

import lombok.Data;

/**
 * @author 光的代言人
 */

@Data
public class CustomException extends RuntimeException {
    private Integer code;
    private String msg;

    public CustomException(Integer code, String msg) {
        super(msg);
        this.code = code;
        this.msg = msg;
    }
}